package com.cdy.jxc_project.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;

/*
 * @Project:jxc_project
 * @Author:cdy(缘生)
 * @Motto:放下杂念,只为迎接明天更好的自己
 * @Date:2023/5/5 18:33
 * */
@Data
public class TSaleList {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Float amountPaid;//实付金额
    private Float amountPayable;//应付金额
    @JSONField(format="yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date saleDate;//销售日期
    private String remarks;//备注
    private Integer state;//交易状态 1 已付 2 未付
    private String saleNumber;//销售单号
    private Integer customerId;//客户订单id
    private Integer userId;
}
